package com.heima.model.base.annotation;


import com.heima.model.base.po.BusinessType;
import com.heima.model.base.po.OperatorType;

import java.lang.annotation.*;

/**
 * @author Xanny
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {

    /**
     * 模块
     */
    public String title() default "";

    /**
     * 功能
     */
    public BusinessType businessType() default BusinessType.OTHER;

    /**
     * 操作人类别
     */
    public OperatorType operatorType() default OperatorType.MANAGE;
}
